<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src="./js/jquery-3.4.1.js"></script>
<script src="https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>

</head>
<body>
welcome:<span id="sss"></span>
<hr />
welcome:<span id="sss1"></span>

<script>
	$("#sss").html($.cookie("uname"))
	$.get("getInfo", null, (data) => {
		$("#sss1").html(data)	
	}, "text")
	
</script>
</body>
</html>